package com.spdd.mt.biz.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
public class AppConfig {

    /** 应用名称 */
    @Value("${spring.application.name:admin}")
    private String appName;

}
